//
//  YZCheckAuthorizationTool.h
//  VET
//
//  Created by 刘文靖 on 2018/6/29.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YZCheckAuthorizationTool : NSObject
/** 检测访问相册的权限 */
+ (void)checkPhotoAlbumAuthorizationGrand:(void (^)(void))permissionGranted
                         withNoPermission:(void (^)(void))noPermission;
/** 检测访问麦克风的权限 */
+ (void)checkAudioAuthorizationGrand:(void (^)(void))permissionGranted
                    withNoPermission:(void (^)(void))noPermission;
/** 检测访问相机的权限 */
+ (void)checkCameraAuthorizationGrand:(void (^)(void))permissionGranted
                     withNoPermission:(void (^)(void))noPermission;
/** 检测访问定位的权限*/
+ (void)checkLocationServiceAuthorization:(void(^)(BOOL authorizationAllow))checkFinishBack;
@end
